home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Prog / D-G / DialogUtils.cpt / DialogUtils ƒ / DialogUtils.h < prev   
Encoding:
C/C++ Source or Header  |  1990-06-25  |  730 b   |  25 lines  |  [TEXT/KAHL]

  1. /*
  2.  * DialogUtils.h
  3.  */
  4.  
  5. #ifndef H_DialogUtils
  6. #define H_DialogUtils
  7.  
  8. #include <MacTypes.h>
  9.  
  10. /* Return topLeft point to center standard file dialogs. */
  11. extern Point DU_StdPutWhere(void);
  12. extern Point DU_StdGetWhere(void);
  13.  
  14. /*
  15.  * Pre-load and center ALRT/DLOG template resources. Changes do not affect
  16.  *  the resource file, but if the ALRT/DLOG is created soon after the call
  17.  *  it will use the modified (centered) template in memory. Both routines
  18.  *  return the passed rsrc id to allow calls like:
  19.  *      Alert(DU_CenterALRT(alertID),filter);
  20.  *      GetNewDialog(DU_CenterDLOG(dlogID),dStorage,behindWindow);
  21.  */
  22. extern short DU_CenterALRT(short rsrcId);
  23. extern short DU_CenterDLOG(short rsrcId);
  24.  
  25. #endif    /* H_DialogUtils */